package com.rhb.ca.web.struts.action;

import org.apache.struts.actions.DispatchAction;

import com.rhb.ca.role.business.RoleBusiness;
import com.rhb.ca.uzer.business.UzerBusiness;
import com.rhb.ca.AppContext;

public class BaseDispatchAction extends DispatchAction {

	public BaseDispatchAction() {
		super();
	}

	protected UzerBusiness getUzerBusiness() {
		return (UzerBusiness) AppContext.getInstance().getAppContext().getBean("uzerBusiness");
	}
	
	protected RoleBusiness getRoleBusiness() {
		return (RoleBusiness) AppContext.getInstance().getAppContext().getBean("roleBusiness");
	}

}

